<?php
$name_of_your_site = "oficinarocha.com.br";
$email_adress_reciever = "contato@oficinarocha.com.br";

if (isset($_POST['Send'])) {
    include('send.php');
}
?>
<!doctype html>
<!--[if IE 7 ]>    <html lang="en-gb" class="isie ie7 oldie no-js"> <![endif]-->
<!--[if IE 8 ]>    <html lang="en-gb" class="isie ie8 oldie no-js"> <![endif]-->
<!--[if IE 9 ]>    <html lang="en-gb" class="isie ie9 no-js"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en-gb" class="no-js"> <!--<![endif]-->

    <head>
        <title>Oficina Rocha - Contato</title>

        <meta charset="utf-8">
        <meta name="keywords" content="" />
        <meta name="description" content="" />

        <!-- Favicon --> 
        <link rel="shortcut icon" href="images/favicon.ico">

        <!-- this styles only adds some repairs on idevices  -->
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

        <!-- Google fonts - witch you want to use - (rest you can just remove) -->
        <link href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700' rel='stylesheet' type='text/css'>

        <!--[if lt IE 9]>
                    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
            <![endif]-->

        <!-- ######### CSS STYLES ######### -->
        <link rel="stylesheet" href="css/reset.css" type="text/css" />
        <link rel="stylesheet" href="css/style.css" type="text/css" />
        <!-- responsive devices styles -->
        <link rel="stylesheet" media="screen" href="css/responsive-leyouts.css" type="text/css" />
        <link rel="stylesheet" href="css/colors/lightblue.css" />
        <!-- iosslider -->
        <link rel = "stylesheet" media = "screen" href = "js/iosslider/common.css" />
        <!-- jquery jcarousel -->
        <link rel="stylesheet" type="text/css" href="js/jcarousel/skin.css" />
        <!-- faqs -->
        <link rel="stylesheet" href="js/accordion/accordion.css" type="text/css" media="all">
        <!-- progressbar -->
        <link rel="stylesheet" href="js/progressbar/ui.progress-bar.css">




    </head>

    <body>

        <div class="site_wrapper">
            <div class="boxed_wrapper">
                <div class="container_full">
                    <?php include 'cabecalho.php'; ?>
                    <div class="container">
                        <div class="content_fullwidth">
                            <div id="content_area">

                                <div class="one_half">
                                    <p>Se você ficou interessado em nossos serviços, tem sugestões ou dúvidas, entre em contato através de nosso formulário. Entraremos em contato o mais breve possível!</p>

                                    <div class="mar_top4"></div>


                                    <div class="address-info">
                                        <h2>Endereço e informações</h2>
                                        <ul>
                                            <li>
                                                <strong>Rocha Peças e Serviços</strong><br />
                                                Claricio Alves Ribeiro 32,Itanguá, Cariacia-ES,<br />
                                                Tel: (27) 3336-9105<br />
                                                FAX: (27) 3336-9105<br />
                                                E-mail: <a href="mailto:contato@oficinarocha.com.br">contato@oficinarocha.com.br</a><br />
                                                Website: <a href="./">www.oficinarocha.com.br</a>
                                            </li>
                                            <li>
                                                <br />
                                                <strong>Horário de funcionamento</strong>
                                                <p>Segunda - Sexta 7:00 ás 17:00</p>
                                                <p>Sábado e Domingo - Fechado</p>
                                            </li>
                                        </ul>
                                    </div>
                                </div>


                                <div class="one_half last">	            

                                    <h2>Formulário para contato</h2>

                                    <form action="" method="post">

                                        <fieldset>

                                            <?php if (!isset($errorC) || $errorC == true) { ?>

                                                <label for="name" class="blocklabel">Come Completo</label>
                                                <p class="<?php if (isset($the_nameclass)) echo $the_nameclass; ?>" ><input name="yourname" class="input_bg" type="text" id="name" value='<?php if (isset($the_name)) echo $the_name ?>'/></p>


                                                <label for="email" class="blocklabel">E-Mail*</label>
                                                <p class="<?php if (isset($the_emailclass)) echo $the_emailclass; ?>" ><input name="email" class="input_bg" type="text" id="email" value='<?php if (isset($the_email)) echo $the_email ?>' /></p>


                                                <!--label for="website" class="blocklabel">Website</label>
                                                <p><input name="website" class="input_bg" type="text" id="website" value="<?php if (isset($the_website)) echo $the_website ?>"/></p-->


                                                <label for="message" class="blocklabel">Mensagem*</label>
                                                <p class="<?php if (isset($the_messageclass)) echo $the_messageclass; ?>"><textarea name="message" class="textarea_bg" id="message" cols="20" rows="7" ><?php if (isset($the_message)) echo $the_message ?></textarea></p>


                                                <p>
                                                    <input type="hidden" id="myemail" name="myemail" value="<?php echo $email_adress_reciever; ?>" />
                                                    <input type="hidden" id="myblogname" name="myblogname" value="<?php echo $name_of_your_site; ?>" />
                                                <div class="clearfix"></div>
                                                <input name="Send" type="submit" value="SUBMIT" class="button medium align" id="send"/></p>
                                            <?php } else { ?> 

                                                <div class="success">
                                                    <div class="message-box-wrap">
                                                        Your message has been <strong>Received Successfully!</strong> Thank you!</div>
                                                </div>

                                            <?php } ?>

                                        </fieldset>

                                    </form> 
                                </div>

                                <div class="clearfix"></div>
                                <div class="mar_top1"></div>

                                <div class="one_full">

                                    <h3>Find the Address</h3>   
                                    <iframe class="google-map" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.google.com.br/maps?t=m&amp;q=Oficina+Rocha&amp;ie=UTF8&amp;hq=Oficina+Rocha&amp;hnear=Vit%C3%B3ria+-+Esp%C3%ADrito+Santo&amp;z=14&amp;iwloc=A&amp;cid=9252060383017698375&amp;ll=-20.327426,-40.384185&amp;output=embed"></iframe><br /><small><a href="https://www.google.com.br/maps?t=m&amp;q=Oficina+Rocha&amp;ie=UTF8&amp;hq=Oficina+Rocha&amp;hnear=Vit%C3%B3ria+-+Esp%C3%ADrito+Santo&amp;z=14&amp;iwloc=A&amp;cid=9252060383017698375&amp;ll=-20.327426,-40.384185&amp;source=embed" style="color:#0000FF;text-align:left">Exibir mapa ampliado</a></small>                                    

                                </div>

                            </div>

                        </div><!-- end content full width area -->

                        <div class="mar_top2"></div>

                    </div>


                    <!-- Footer
                    ======================================= -->

                    <div class="container">


                        <div class="shadow_02"></div>

                    </div>

<?php include 'rodape.php'; ?>

                    


    </body>
</html>
